﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DLL;

namespace QuanLyBanLe.Depository
{
    public partial class FormProductStatisticPrint : Form
    {
        private List<pStatisticProduct_Result> m_Products;
        public FormProductStatisticPrint(List<pStatisticProduct_Result> products)
        {
            m_Products = products;
            InitializeComponent();
        }

        private void FormProductStatisticPrint_Load(object sender, EventArgs e)
        {
            this.Text += FormMain.GetShopInfo();
            pStatisticProduct_ResultBindingSource.DataSource = m_Products;
            this.reportViewer.RefreshReport();
        }
    }
}
